﻿ using ITXHWEB.Models; 
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace ITXHWEB.Controllers
{
    public partial class SHWRQI03Controller : ITXController
    { 
        public SHWRQI03Controller()
        {  
            MAPP = "SHWRQI03";
            foreach (KeyValuePair<string, object> kp in ENVMAIN)
            {
                TempData[kp.Key] = kp.Value;
            }
        } 
        public ActionResult SHWRQI03()
        {
            if (!IsLogOn)
            {
                return View();
            }
            MABF.PDCTYPE = "RQI";
            
            ViewBag.IsERKReady = MABF.VWBB.IsERKReady;
            ViewBag.IsSTKNRReady = MABF.IsSTKNRReady;
            ViewBag.IsAMRunReady = MABF.IsAMRunReady;
            ViewBag.IsVAFReady = MABF.IsVAFReady;
            ViewBag.IsVAReady = MABF.IsVAReady;
            ViewBag.IsWFReady = MABF.IsWFReady;
            ViewBag.IsWSReady = MABF.IsWSReady;
            ViewBag.IsPDCReady = MABF.IsPDCReady;
            ViewBag.IsABPReady = MABF.IsABPReady;
            ViewBag.IsEXORDReady = MABF.IsEXORDReady; 
            ViewBag.IsAMReady = MABF.IsAMReady;
            ViewBag.IsABPReady = MABF.IsABPReady;
            ViewBag.IsSTEPReady = MABF.IsSTEPReady;
            ViewBag.IsStaffReady = MABF.IsStaffReady;
            ViewBag.IsStartReady = MABF.IsStart;
            ViewBag.IsGotABE = MABF.IsGotABE;
            ViewBag.ReturnUrl = Url.Action("SHWRQI03");
            return View();
        }
    }
}
